package com.suda.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {

    //访问: http://localhost:8989 即可自动跳转到index.html页面
    @RequestMapping("/index")
    public String index(){
        return "index";
    }
}
